<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:cc="http://java.sun.com/jsf/composite"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:c="http://java.sun.com/jsp/jstl/core"
                xmlns:base="http://java.sun.com/jsf/composite/base">
    <cc:interface>
        <cc:attribute name="items"/>
    </cc:interface>

    <cc:implementation>
        <p:tree value="#{baseConstruct.tree}" var="node" id="base_tree" 
                selectionMode="single"                    
                selection="#{categoryController.selectNode}"
                animate="true">  
            <p:treeNode id="treeNode">  
                <h:outputText value="#{node.name}" id="base_lblNode"/>  
            </p:treeNode>  
        </p:tree> 
    </cc:implementation>
</ui:composition>